<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
  <head>
    <title>Tencent</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/login.js"></script>
	<style>
    	.fakeimg {
        	height: 200px;
        	background: #aaa;
   		}
  	</style>
  </head>
  
  <body>
  
  	<!-- 头部  -->
    <div class="jumbotron text-center" style="margin-bottom:0">
		<img alt="img" src="img/1.png">
		<p>企业人事管理系统</p>
	</div>
	
	<!-- 中部 -->
	<div class="container">
		<div class="row">
			<div class="col-sm-8">
				<img alt="img" src="img/2.jpg" style="margin-right: 10px;">
			</div>
			<div class="col-sm-4">
				<form class="form-horizontal" action="${pageContext.request.contextPath}/Login.do?method=1"
					method="post" name="form" id="form">
					<div class="form-group">
						<label class="col-sm-2 control-label">ID</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" name="ID" id="ID"
								placeholder="请输入用户ID" value="<c:out value="${id}"/>">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">密码</label>
						<div class="col-sm-10">
							<input type="text" class="form-control" name="pwd" id="pwd"
								placeholder="请输入用户密码" value="<c:out value="${password}"/>">
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<div class="checkbox">
								<label> <input type="checkbox" name="checkbox"
									value="auto"> 记住我？ </label>
							</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">身份</label>
						<div class="col-sm-10">
							<select name="select" class="form-control">
								<option value="employee">企业员工</option>
								<option value="boss">部门主管</option>
								<option value="admin">管理员</option>
							</select>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-offset-2 col-sm-10">
							<button type="submit" id="submit" class="btn btn-default">登录</button>
							<button type="reset" class="btn btn-default">重置</button>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-10">
							<span style="color:red" id="loginErr">${login_err}</span>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-10">
							<a href="${pageContext.request.contextPath}/Forget.do" style="text-decoration: none;">忘记密码？</a> 
							<a href="#" style="text-decoration: none;" id="call">联系管理员</a>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	
	<!-- 尾部 -->
	<div class="jumbotron text-center"  style="margin-top:170px;margin-bottom:0;">
     	版权所有 © Copyright 2018-2100 03160519 康楠  中国·广东珠海吉林大学珠海学院
  	</div>

  </body>
</html>
